package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderCommentDao;
import com.appkubes.mall.core.entity.MallOrderComment;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderCommentService extends AbstractBaseService<BaseMallOrderCommentDao, MallOrderComment> {

    MallOrderComment getOneByEntity(MallOrderComment entity);

    List<MallOrderComment> selectListByEntity(MallOrderComment entity);

    IPage<MallOrderComment> selectPageByEntity(IPage<MallOrderComment> page);
    IPage<MallOrderComment> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderComment> selectPageByEntity(MallOrderComment entity, IPage<MallOrderComment> page);
    IPage<MallOrderComment> selectPageByEntity(MallOrderComment entity, PageVO pageVO);

    IPage<MallOrderComment> selectPageByEntity(MallOrderComment entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderComment entity);
}
